package cn.tedu.imop.marketing.dao.repository;

import cn.tedu.imop.common.pojo.PageData;
import cn.tedu.imop.marketing.entity.MemberCoupon;

import java.util.List;

public interface MemberCouponRepository {
    int insertMemberCoupon(MemberCoupon memberCoupon);
    MemberCoupon selectMemberCouponById(Integer id);
    PageData <MemberCoupon> selectList(Integer memberId, Integer status);
    int updateMemberCoupon(MemberCoupon memberCoupon);
    int countMemberCoupon(Integer memberId, Integer couponId, String couponCode);
}
